package com.wish.g3.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 对账批次表
 * </p>
 *
 * @author wish
 * @since 2022-11-23
 */
@TableName("tb_cw_check_batch")
public class CwCheckBatch implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 账期年月日（yyyymmdd）
     */
    private String billDay;

    /**
     * 对账年月日(yyyymmdd)
     */
    private String checkDay;

    /**
     * 同一天内的批次序号(对账年月日内)
     */
    private Integer batchNum;

    /**
     * 批次号（yyyymmdd001），即年月日加上序号（显示用）
     */
    private String batchNo;

    /**
     * 渠道名称 1:代付（提现），2：快捷，3：微信，4：支付宝
     */
    private Integer billType;

    /**
     * 平台支付订单笔数
     */
    private Integer orderCount;

    /**
     * 拉卡拉账单笔数
     */
    private Integer checkCount;

    /**
     * 差错账数量
     */
    private Integer diffCount;

    /**
     * 是否完成对账, 1:完成，2：未完成， 3：取消
     */
    private Integer completeState;

    /**
     * 对账确认时间
     */
    private LocalDateTime confirmDate;

    /**
     * 生成区分（1：自动对账生成，2：手动对账生成）
     */
    private Integer createType;

    /**
     * 账单下载批次（由36位UUID组成，标识使用的哪个批次的账单，参照账单文件表）
     */
    private String downloadBatch;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 删除标识,0:未删除，1：删除
     */
    private Boolean delFlg;

    /**
     * 创建用户ID
     */
    private Long createUserid;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新用户ID
     */
    private Long updateUserid;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public String getBillDay() {
        return billDay;
    }

    public void setBillDay(String billDay) {
        this.billDay = billDay;
    }
    public String getCheckDay() {
        return checkDay;
    }

    public void setCheckDay(String checkDay) {
        this.checkDay = checkDay;
    }
    public Integer getBatchNum() {
        return batchNum;
    }

    public void setBatchNum(Integer batchNum) {
        this.batchNum = batchNum;
    }
    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo;
    }
    public Integer getBillType() {
        return billType;
    }

    public void setBillType(Integer billType) {
        this.billType = billType;
    }
    public Integer getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(Integer orderCount) {
        this.orderCount = orderCount;
    }
    public Integer getCheckCount() {
        return checkCount;
    }

    public void setCheckCount(Integer checkCount) {
        this.checkCount = checkCount;
    }
    public Integer getDiffCount() {
        return diffCount;
    }

    public void setDiffCount(Integer diffCount) {
        this.diffCount = diffCount;
    }
    public Integer getCompleteState() {
        return completeState;
    }

    public void setCompleteState(Integer completeState) {
        this.completeState = completeState;
    }
    public LocalDateTime getConfirmDate() {
        return confirmDate;
    }

    public void setConfirmDate(LocalDateTime confirmDate) {
        this.confirmDate = confirmDate;
    }
    public Integer getCreateType() {
        return createType;
    }

    public void setCreateType(Integer createType) {
        this.createType = createType;
    }
    public String getDownloadBatch() {
        return downloadBatch;
    }

    public void setDownloadBatch(String downloadBatch) {
        this.downloadBatch = downloadBatch;
    }
    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
    public Boolean getDelFlg() {
        return delFlg;
    }

    public void setDelFlg(Boolean delFlg) {
        this.delFlg = delFlg;
    }
    public Long getCreateUserid() {
        return createUserid;
    }

    public void setCreateUserid(Long createUserid) {
        this.createUserid = createUserid;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Long getUpdateUserid() {
        return updateUserid;
    }

    public void setUpdateUserid(Long updateUserid) {
        this.updateUserid = updateUserid;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "TbCwCheckBatch{" +
            "id=" + id +
            ", billDay=" + billDay +
            ", checkDay=" + checkDay +
            ", batchNum=" + batchNum +
            ", batchNo=" + batchNo +
            ", billType=" + billType +
            ", orderCount=" + orderCount +
            ", checkCount=" + checkCount +
            ", diffCount=" + diffCount +
            ", completeState=" + completeState +
            ", confirmDate=" + confirmDate +
            ", createType=" + createType +
            ", downloadBatch=" + downloadBatch +
            ", remarks=" + remarks +
            ", delFlg=" + delFlg +
            ", createUserid=" + createUserid +
            ", createTime=" + createTime +
            ", updateUserid=" + updateUserid +
            ", updateTime=" + updateTime +
        "}";
    }
}
